<?php
namespace app\admin\logic;

class VipLogic
{
    public static function getVipData($param)
    {

        if ($param['pwd']==$param['pwd2']){
            $data = [
                'uname'=>$param['uname'],
                'upwd'=>$param['pwd'],
                'sex'=>$param['sex'],
                'tel'=>$param['tel'],
                'email' =>$param['email'],
                'add_time' =>time(),
            ];
        }

        return $data;

    }
}